// vite.config.ts
import { dtPlugins } from "file:///E:/%E4%B8%AA%E4%BA%BA/zm-ant/packages/plugins/dist/index.cjs";
var vite_config_default = ({ command, mode }) => {
  return {
    css: {
      preprocessorOptions: {
        // scss: {
        //   additionalData: `@use "@styles/element.scss" as *;`,
        // },
        less: {
          modifyVars: {
            hack: `true; @import (reference) "./src/styles/antDesign.less";`
          },
          javascriptEnabled: true
        }
      }
    },
    plugins: [
      dtPlugins({
        isBuild: command === "build"
      })
    ]
  };
};
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxcdTRFMkFcdTRFQkFcXFxcem0tYW50XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJFOlxcXFxcdTRFMkFcdTRFQkFcXFxcem0tYW50XFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9FOi8lRTQlQjglQUElRTQlQkElQkEvem0tYW50L3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnLCBQbHVnaW5PcHRpb24sIENvbmZpZ0VudiwgVXNlckNvbmZpZyB9IGZyb20gJ3ZpdGUnXHJcbmltcG9ydCB7IGR0UGx1Z2lucyB9IGZyb20gXCJAem0tcGtnL3BsdWdpbnNcIlxyXG5cclxuLy8gaW1wb3J0IHZ1ZSBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUnXHJcbi8vIGh0dHBzOi8vdml0ZWpzLmRldi9jb25maWcvXHJcbi8vIGV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZyh7XHJcbi8v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